package ua.pp.bizon.yandex.uploader;

import ua.pp.bizon.yandex.api.IUserData;

import org.apache.commons.logging.LogFactory;

public class Env implements IUserData {

	public Env(String username) {
		LogFactory.getLog(Env.class).debug("create env:" + username);
		this.username = username;
	}

	@Override
	public String getUsername() {
		return username;
	}

	@Override
	public String getToken() {
		return token;
	}

	private String username;
	private String token;

	public void setToken(String text) {
		LogFactory.getLog(Env.class).trace("set token " + text + " for username " + username);
		this.token = text;
	}

}
